home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / sharew / packer / zlib / post < prev    next >
Encoding:
Text File  |  1990-11-17  |  1.7 KB  |  47 lines

  1. zlib for atari ST
  2. -----------------
  3.  
  4. [ excerpt from readme file ]
  5.  
  6. note: if you do not have or use compress, this is probably not for you...
  7.  
  8. this was posted to alt.sources circa nov 1990. i thought it would be
  9. useful so i ported it to TOS. it provides a stdio-like stream interface
  10. for reading compressed files. the args are similar to "normal" stdio. i
  11. ported it to TOS (Alcyon). it should work fine with sozobon, gcc, minix(?)
  12. and whatever, though i have not tested it with these.
  13.  
  14. what it does: it provides a READ ONLY stream interface for compressed
  15. files, i.e. those compressed which unix compress (of which there is, of
  16. course, a TOS version). up to 16-bit compress is supported.
  17. no support for "zfputc" or "zfputs" or "zprintf" is provided here. still,
  18. this is very useful indeed. currently it might be limited to compressed
  19. text files, at least with alcyon, though that will probably not be the
  20. case with gcc. i also runs fine under unix.
  21.  
  22. included are:
  23.  
  24.     zfopen        open a compressed (or normal) file
  25.     zfclose        closes compressed stream
  26.     zfgetc        get a single char from stream (does cr-lf translation)
  27.     zfgets        get a single line from stream
  28.     zfeof        test for EOF on stream
  29.     zfilter        for working with stdin
  30.  
  31. this library will handle 16-bit compressed files. it has been tested with
  32. 16-bit compress 4.3 for the atari ST:
  33.  
  34.     compress 4.3 88/12/26 08:00:00 don
  35.     Options: Unix MAXBITS = 16
  36.  
  37. i have included an executable for zcat (the test program). see makefile
  38. for how to run it. all included in this post are alcyon-compatible libraries
  39. and aln index file (zlib.ndx). zlib.out is log of atari doindex command for
  40. aln random libraries.
  41.  
  42. enjoy...
  43.  
  44. -bill rosenkranz
  45. rosenkra%c1yankee@convex.com
  46.  
  47.